﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Engine.POI;

namespace Engine
{



    public class PoiReader
    {
        public PoiReader()
        {
        }




        public IEnumerable<BasePoi> Load(string Path)
        {
            string ext = System.IO.Path.GetExtension(Path);
            switch (ext)
            {
                case ".txt":
                    {
                        return (new FileReaders.IGOFileReader()).Read(Path);
                    }
            }
            return null;
        }
    }
}
